<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <link rel="stylesheet" href="css.css">
    <title></title>
    <script type="text/javascript" src="jquery-3.2.1.min.js"></script>
    <script>
        function loadit() {
            $("#header").css({
                top: $(".main").height() * 0.06
            })
        }
    </script>
</head>

<body onload="loadit()">
<div class="main">
    <div class="header" id="header">
        隨身資深嚮導<br/>
        聽遊深度歐洲
    </div>
    <div id="amstd" class="btn" onclick="window.webkit.messageHandlers.imguider.postMessage(196)">阿姆<br/>斯特丹</div>
    <div id="ld" class="btn" onclick="window.webkit.messageHandlers.imguider.postMessage(19)">倫敦</div>
    <div id="blin" class="btn" onclick="window.webkit.messageHandlers.imguider.postMessage(17)">柏林</div>
    <div id="blse" class="btn" onclick="window.webkit.messageHandlers.imguider.postMessage(641)">布魯塞爾</div>
    <div id="kl" class="btn" onclick="window.webkit.messageHandlers.imguider.postMessage(18)">科隆</div>
    <div id="bli" class="btn" onclick="window.webkit.messageHandlers.imguider.postMessage(11)">巴黎</div>
    <div id="mnh" class="btn" onclick="window.webkit.messageHandlers.imguider.postMessage(15)">慕尼黑</div>
    <div id="wyn" class="btn" onclick="window.webkit.messageHandlers.imguider.postMessage(4149)">維也納</div>
    <div id="rnw" class="btn" onclick="window.webkit.messageHandlers.imguider.postMessage(8)">日内瓦</div>
    <div id="lse" class="btn" onclick="window.webkit.messageHandlers.imguider.postMessage(23)">盧森</div>
    <div id="mdl" class="btn" onclick="window.webkit.messageHandlers.imguider.postMessage(10)">马德里</div>
    <div id="bsln" class="btn" onclick="window.webkit.messageHandlers.imguider.postMessage(9)">巴塞隆納</div>
    <div id="lm" class="btn" onclick="window.webkit.messageHandlers.imguider.postMessage(1)">羅馬</div>
    <div id="ml" class="btn" onclick="window.webkit.messageHandlers.imguider.postMessage(2)">米蘭</div>
</div>
</body>

</html>
